﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Service.Model.Table
{
    class News
    {
        private int id;
        private String title;
        private String content;
        private DateTime createTime;
        private int userId;
        private int typeId;
        private DateTime modifyTime;
        private String image;
        private int state;
        private int readcount;

        public int Id
        {
            set { id = value; }
            get { return id; }
        }
        public String Title
        {
            set { title = value; }
            get { return title; }
        }
        public String Content
        {
            set { content = value; }
            get { return content; }
        }
        public DateTime CreateTime
        {
            set { createTime = value; }
            get { return createTime; }
        }
        public int UserId
        {
            set { userId = value; }
            get { return userId; }
        }
        public int TypeId
        {
            set { typeId = value; }
            get { return typeId; }
        }
        public DateTime ModifyTime
        {
            set { modifyTime = value; }
            get { return modifyTime; }
        }
        public String Image
        {
            set { image = value; }
            get { return image; }
        }
        public int State
        {
            set { state = value; }
            get { return state; }
        }
        public int ReadCount
        {
            set { readcount = value; }
            get { return readcount; }
        }
    }
}
